/*
 * 计算输入的数字之和
*/
package xunhuan;

public class Demo7 {

	public static void main(String[] args) {
		double s=9527,c=0;
        
			while (s%10!=0) {
			c=c*10+s/10;
			s=s/10;
				
			}

		System.out.println(c);
		
	}
}


